const mongoose=require('mongoose');
const config=require('../config');

mongoose.Promise=global.Promise;
mongoose.connect(config.mongodbUri);

module.exports={
    Book:require('./book'),
    Total:require('./total')
};